<?php

namespace app\model;

use app\BaseModel;

/**
 * 量表预警标志
 */
class RatingScaleFactorWarningMarkModel extends BaseModel
{
    protected $name = 'rating_scale_factor_warning_mark';

    /**
     * 新增数据验证
     * @return array
     */
    public function addValidate()
    {
        return [
            'rating_scale_id|量表id'  => 'require',
            'name|因子名'  => 'require',
        ];
    }
}